package com.zhongxiangspace.service.impl;

import com.zhongxiangspace.entity.UserInfo;
import com.zhongxiangspace.mapper.UserInfoMapper;
import com.zhongxiangspace.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 用户
 */
@Service
public class UserInfoServiceImpl implements UserInfoService{

    @Autowired
    private UserInfoMapper userInfoMapper;

    @Override
    public UserInfo findByUsername(String username) {
        return this.userInfoMapper.findByUsername(username);
    }
}
